spin button: Limit the entry width to reasonable values
authorMatthias Clasen <mclasen@redhat.com>
Sun, 6 Mar 2016 04:41:10 +0000 (23:41 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 6 Mar 2016 04:45:35 +0000 (23:45 -0500)
commit4ab91f09cf0b225d399bcc0d19df9fc91aabbe5c
treeaaf9563e87784ae2e2aad5d464e1844f2604ad50
parent6d1cdaff7e2dce4175aea33eed24d677d96c4de9
spin button: Limit the entry width to reasonable values

When opening the value editor for any GtkAdjustment properties
in the inspector, the popover stretches out for miles, since
it reserves enough space to draw MAXDOUBLE. This is not useful.
Limit the space we reserve to 8 digits.
gtk/gtkspinbutton.c